# please source this file
# see http://fedoraproject.org/wiki/PackagingDrafts/MPI
#on RH
enable_selector=1
#on Fedora

if [ ! -z "$enable_selector" -a "$enable_selector"=="1" ]; then
    mpi-selector --set openmpi-1.4-gcc-x86_64
    . /etc/profile.d/mpi-selector.sh
fi

if [ ! -z "$enable_module" ]; then
    . /etc/profile.d/modules.sh
    module load /etc/modulefiles/openmpi*
fi
